﻿namespace EasyGo.Common.Dto
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    public class ListTaskDto
    {
        public int Id { get; set; }

        public string Summary { get; set; }

        public DateTime UpdateDate { get; set; }

        public DateTime? DueDate { get; set; }

        public int Status { get; set; }

        public string StatusName
        {
            get
            {
                return ((ValueTypes.TaskStatus)this.Status).ToString();
            }
        }
    }
}
